package com.kongjs.application.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author kongjs.com
 * @since 2025-04-20
 */
@Getter
@Setter
@ToString
@TableName("termmeta")
@Entity
@Table(name = "termmeta")
public class Termmeta implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    @TableId(value = "meta_id", type = IdType.AUTO)
    private Long metaId;

    @TableField("term_id")
    private Long termId;

    @TableField("meta_key")
    private String metaKey;

    @TableField("meta_value")
    private String metaValue;
}
